﻿using GalaSoft.MvvmLight;
using System.Collections.ObjectModel;

namespace TroubleshootingofBeanBagAssistant
{
	public class ListViewViewModel : ViewModelBase
	{
		public static ObservableCollection<ListViewDataModel> dataList;
		public ObservableCollection<ListViewDataModel> DataList
		{
			get => dataList;
			set => Set(ref dataList, value);
		}

		public ListViewViewModel()
		{
			DataList = GetDataList();
		}

		private ObservableCollection<ListViewDataModel> GetDataList()
		{
			return new ObservableCollection<ListViewDataModel>
			{
				//new DemoDataModel{ Index =  "暂无", Name = DateTime.Now.ToString(), Remark = "已解决" },

			};
		}
	}
}
